<template>
  <div class="app-container">
    <el-form ref="dataForm" :rules="settlementFormRules" :model="refundForm" label-position="left" label-width="140px">
      <el-form-item label="金额" prop="amount">
        <el-input v-model="refundForm.amount" />
      </el-form-item>
      <el-form-item label="理由" prop="content">
        <el-input v-model="refundForm.content" :autosize="{ minRows: 2, maxRows: 4}" type="textarea" placeholder="理由" />
      </el-form-item>
      <el-form-item label="备注" prop="remark">
        <el-input v-model="refundForm.remark" :autosize="{ minRows: 2, maxRows: 4}" type="textarea" placeholder="备注" />
      </el-form-item>
    </el-form>
    <div slot="footer" class="dialog-footer">
      <el-button @click="handleCannel()">
        取消
      </el-button>
      <el-button type="primary" @click="saveData()">
        确认
      </el-button>
    </div>
  </div>
</template>

<script>
export default {
  name: 'Pagination',
  props: {
    orderId: {
      required: true,
      type: Number
    },
    hidden: {
      type: Boolean,
      default: false
    }
  },
  data() {
    return {
      tableKey: 0,
      refundForm: {
        orderId: 0,
        content: '',
        remark: ''
      }
    }
  },
  computed: {
  },
  methods: {
  }
}
</script>
